<div ng-include="'/modules/template/header.html'"></div> 
<div class="weizhi">
	<div class="container">
    	<div class="row">
        	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 t_weizhi">
            	当前位置->><a href="" ui-sref="main">首页</a>->><a>购物车</a>
            </div>
        </div>
    </div>
</div> 
<div class="zc_main_box gwlc" style="padding-top: 0;">
	<div class="container">
    	<div class="row">
    		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 xzshdz"  ng-hide="!confirmList || confirmList.length == 0">
				<span class="nav-1">选择收货地址</span>
			</div>
    		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 dz"  ng-hide="!confirmList || confirmList.length == 0">
				<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 dz-box" ng-repeat="c in consigneeList">
					<div class="col-xs-12 dz-active" ng-click="choiceAddr($index)">
						<div class="" >
							<span ng-bind="c.province+c.city"></span>
							<span ng-bind="c.consignee_name"></span>
						</div>
						<div class="jtdz">
							<span class="wz" ng-bind="c.connect_address"></span>
							<span class="dh" ng-bind="c.telephone"></span>
						</div>
						<div class="">
							<a href="" ui-sref="adderss_edit({id:c.id})">修改</a>
						</div>
						<div class="wx_add_set"> 
                             	<input id="addr_{{c.id}}" type="checkbox" />设为收货地址
			            </div>
					</div>
				</div>
				
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 dz-box" style="text-align: right;" >
					<button type="button" class="syxdz" ui-sref="adderss">使用新地址</button>
				</div>
			</div>
    		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 xzshdz"   ng-hide="!confirmList || confirmList.length == 0">
				<span class="nav-1">确认订单信息</span>
			</div>
    		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 sc_list" style="margin-bottom: 15px;">
				<div class="sc-box" ng-repeat="cart in confirmList">
					<div class="sc_left" style="margin-left: 15px; width: 85px;">
						<div class="sc_img"><img src="/temp/images/11130f096dbec743756b69cbb22f9.jpg"></div>
					</div>
					<div class="sc_right">
						<div class="sc-mn" style="margin-left: 70px;">
							<div class="food1 col-lg-6 col-md-6">
								<div ng-bind="cart.standard_code ==null?cart.a100:cart.standard_code" ></div>
								<div style="margin-bottom: 5px;" class="overline2" ng-bind="cart.standard_name == null?cart.a298: cart.standard_name" ></div>
							</div>
							<div class="food2 col-lg-3 col-md-3" >数量：<span ng-bind="cart.count" ></span></div>
							<div class="food2 col-lg-3 col-md-3">金额：￥<span>{{total = cart.price*cart.count}}</span></div>
							<div class="clearfix"></div>
						</div>
					</div>
					<div class="clearfix"></div>
				</div>
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 dz-box" style="text-align: right;margin-bottom: 50px;" ng-hide="!confirmList || confirmList.length == 0">
					<button type="button" class="syxdz" ng-click="back()">返回</button>
					<button type="button" class="syxdz" ng-click="submitOrder()">提交订单</button>
				</div>
			</div>
			<div class="gwc0_null" ng-if="!confirmList || confirmList.length == 0">
                 <p>您还没有订单哦</p>
                 <button ui-sref="main">去逛逛</button>
	        </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>
 <div class="modal fade" id="success" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
			</div>
			<div class="modal-body">
				订单生成成功
				<span>您现在可以,</span>
			</div>
			
			<div class="modal-footer" style="position: relative;">
				<button type="button" class="btn btn-default" data-dismiss="modal" style="float:left" ui-sref="order_list.handle_order_list">查看订单详情
				</button>
				<button type="button" class="btn btn-primary" style="background-color:green;float:left;" ui-sref="cart">
					继续购物
				</button>
				<button type="button" class="btn btn-primary" ng-click="payMoney()" style="background-color:red;float:left;border-color:#FFFFFF">
					我要付款
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div>
   </div>  
   
   <div class="modal fade" id="payMoney" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
				<div class="fk-tishi" style="padding:10px 10px 0 10px; border:1px solid #ccc;background-color:#8DFA69; position:absolute;left:217px;top:15px; border-radius:3px; ">
					<p>购买只支持线下交易，请拨打长春市标准院联系电话进行沟通</p>
					<p>联系电话：0431-5936452</p>
					<p>地址：吉林省长春市硅谷西街与盘古路交汇</p>
				</div> 
			</div>
		</div><!-- /.modal-content -->
	</div>
   </div>  
 
